import React from 'react'
import { history } from 'umi'
import './home.css'
export default function Home(props) {
  return (
    <div className='home'>
      <button onClick={() => { history.push('/main') }}>
        跳转</button>main
      {props.children}
    </div>
  )
}
